' T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%
 
 ' Q%          N a m e :   S e n t e l A r m S t u d y _ 0 0 . t x t                   D a t e :   0 3   G i u   2 0 2 2   Q%
 
 ' Q%      A u t h o r :   L e o n a r d o                                                                                 Q%
 
 ' Q%        S c o p e :   T e s t   S E N T E L   s i x   a x i s   a r m                                                 Q%
 
 ' `%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%c%
 
 ' Q%H a r d w a r e :   R o b o T e l l   U S B - C A N b u s   A d a p t e r                                             Q%
 
 ' _% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %b%
 
 ' Q%        N o t e :   S t a r t   t e s t s                                                       1 4 / 0 5 / 2 0 2 2   Q%
 
 ' Q%        N o t e :   R e - s t a r t   t e s t s                                                 0 3 / 0 6 / 2 0 2 2   Q%
 
 ' Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%
 
 L o a d   S E N T E L _ a r m . p n g 
 
 O p t i o n   S p e e d   9 
 
 C o m P o r t   =   1 7 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %      %  %%%%  %%%%%
 
 '   Q%  V A R I A B L E   I N I T I A L I Z A T I O N S   &   A S S I G N E M E N T S         Q%  %      %  %%%%  %%%%%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%    %%%    %    %  %    %%
 
 ' V a r i a b l e   N u m e r i c   N u m C y c l e 
 
 ' V a r i a b l e   N u m e r i c   S t a r t T i m e 
 
 ' V a r i a b l e   S t r i n g     R e s u l t 
 
 ' V a r i a b l e   N u m e r i c   S l o t _ E m e r g e n c y 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ C l a m p                           =     1 
 
 V a r i a b l e   N u m e r i c   S l o t _ L e d R 	 	 	         =     7 
 
 V a r i a b l e   N u m e r i c   S l o t _ L e d G 	 	                 =     8 
 
 V a r i a b l e   N u m e r i c   S l o t _ L e d B 	 	                 =     9 
 
 ' V a r i a b l e   N u m e r i c   S l o t _ P u m p                 	           =     6 
 
 ' V a r i a b l e   N u m e r i c   S l o t _ S i g n a l S c o p e               =   1 3 
 
 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %%%%  %    %  %%%%%  %%%%%
 
 '   Q%  B U T T O N S                                                                         Q%  %%%%  %    %      %          %
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%%  %%%%      %          %
 
 B u t t o n     1   T e x t   E n a b l e 
 
 B u t t o n   E n a b l e   T e x t   " E N A B L E   J O I N T " 
 
 B u t t o n   E n a b l e   C o l o r   C y a n 5 
 
 
 
 B u t t o n     2   T e x t   D i s a b l e 
 
 B u t t o n   D i s a b l e   T e x t   " D I S A B L E   J O N T " 
 
 B u t t o n   D i s a b l e   C o l o r   C y a n 5 
 
 
 
 ' = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   E x p e r i m e n t a l   f u n c t i o n s 
 
 B u t t o n     3   T e x t   R e a d S t a t u s                       '   0 0   R e a d   t h e   s e r v o   s t a t u s   ( 0 :   O f f   /   1 : O n ) 
 
 B u t t o n   R e a d S t a t u s   T e x t   R e a d S t a t u s 
 
 B u t t o n   R e a d S t a t u s   C o l o r   L i g h t B l u e 
 
 
 
 B u t t o n     4   T e x t   R e a d C u m P o s 
 
 B u t t o n   R e a d C u m P o s   T e x t   R e a d C u m P o s       ' R e a d   t h e   a b s o l u t e   s i n g l e - l o o p   p o s i t i o n   o f   t h e   m o t o r   e n c o d e r 
 
 B u t t o n   R e a d C u m P o s   C o l o r   L i g h t B l u e 
 
 
 
 B u t t o n     5   T e x t   R u n S t a t u s 
 
 B u t t o n   R u n S t a t u s   T e x t   R u n S t a t u s       ' R e a d   r u n n i n g   s t a t u s   ( 8 2 , 8 3   F u n c t i o n   c o d e   f u n c t i o n   i s   v a l i d ) 
 
 B u t t o n   R u n S t a t u s   C o l o r   L i g h t B l u e 
 
 
 
 B u t t o n     6   T e x t   S e t O r i g i n 
 
 B u t t o n   S e t O r i g i n   T e x t   S e t O r i g i n 
 
 B u t t o n   S e t O r i g i n   C o l o r   R e d 1 
 
 
 
 B u t t o n     7   T e x t   S a v e P a r a m 
 
 B u t t o n   S a v e P a r a m   T e x t   S a v e P a r a m 
 
 B u t t o n   S a v e P a r a m   C o l o r   R e d 1 
 
 
 
 B u t t o n     8   T e x t   A l l Z e r o 
 
 B u t t o n   A l l Z e r o   T e x t   A l l Z e r o 
 
 B u t t o n   A l l Z e r o   C o l o r   L i g h t B l u e 
 
 
 
 B u t t o n     9   T e x t   1 0 _ 2 0 _ 3 0 _ 4 0 _ 5 0 _ 6 0 
 
 B u t t o n   1 0 _ 2 0 _ 3 0 _ 4 0 _ 5 0 _ 6 0   T e x t   1 0 _ 2 0 _ 3 0 _ 4 0 _ 5 0 _ 6 0 
 
 B u t t o n   1 0 _ 2 0 _ 3 0 _ 4 0 _ 5 0 _ 6 0   C o l o r   L i g h t B l u e 
 
 
 
 B u t t o n   1 0   T e x t   3 = 9 0 _ 5 = 9 0 
 
 B u t t o n   3 = 9 0 _ 5 = 9 0   T e x t   " 3 = 9 0 _ 5 = 9 0 " 
 
 B u t t o n   3 = 9 0 _ 5 = 9 0   C o l o r   L i g h t B l u e 
 
 
 
 ' = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   A c t i o n s   = = = 
 
 B u t t o n   1 2   T e x t   A p p r o a c h B o x 
 
 B u t t o n   A p p r o a c h B o x   T e x t   " A p p r o a c h   B o x " 
 
 B u t t o n   A p p r o a c h B o x   C o l o r   A q u a 
 
 
 
 B u t t o n   1 3   T e x t   A p p r o a c h C a r 
 
 B u t t o n   A p p r o a c h C a r   T e x t   " A p p r o a c h   C a r " 
 
 B u t t o n   A p p r o a c h C a r   C o l o r   A q u a 
 
 
 
 B u t t o n   1 4   T e x t   M o t i o n 
 
 B u t t o n   M o t i o n   T e x t   " M o t i o n   t e s t " 
 
 B u t t o n   M o t i o n   C o l o r   A q u a m a r i n e 
 
 
 
 B u t t o n   1 5   T e x t   C L O S E _ A L L 
 
 B u t t o n   C L O S E _ A L L   T e x t   " C L O S E   A L L " 
 
 B u t t o n   C L O S E _ A L L   C o l o r   R e d 
 
 
 
 ' B u t t o n   1 7   T e x t   R e d O n 
 
 ' B u t t o n   R e d O n   C o l o r   R e d 
 
 ' B u t t o n   1 8   T e x t   G r e e n O n 
 
 ' B u t t o n   G r e e n O n   C o l o r   G r e e n 
 
 ' B u t t o n   1 9   T e x t   Y e l l o w O n 
 
 ' B u t t o n   Y e l l o w O n   C o l o r   Y e l l o w 
 
 ' B u t t o n   2 0   T e x t   B l u e O n 
 
 ' B u t t o n   B l u e O n   C o l o r   M e d i u m B l u e 
 
 ' B u t t o n   2 1   T e x t   W h i t e O n 
 
 ' B u t t o n   G r e e n O n   C o l o r   G r e e n 
 
 ' B u t t o n   2 2   T e x t   R g b O f f 
 
 ' B u t t o n   R g b O f f   C o l o r   B l a c k 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %      %%%%  %%%%  %%%%
 
 '   Q%  L O A D   A P P S                                                                     Q%  %      %    %  %%%%  %    %
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%  %%%%  %    %  %%%%
 
 L o a d   T h e r e m i n o _ H A L \ T h e r e m i n o _ H A L . e x e 
 
 L o a d   . . \ T h e r e m i n o _ T e r m i n a l _ R X \ T h e r e m i n o _ T e r m i n a l _ R e c e i v e . e x e 
 
 L o a d   . . \ T h e r e m i n o _ T e r m i n a l _ T X \ T h e r e m i n o _ T e r m i n a l _ T r a n s m i t . e x e 
 
 L o a d   . . \ T e r m i n a l \ T e r m i n a l . e x e 
 
 ' ' ' ' ' ' L o a d   . . \ T h e r e m i n o _ C A N \ T h e r e m i n o _ C A N . e x e     ' d o   n o t   u s e ,   w e   s e n d   d a t a   d i r e c t l y 
 
 ' L o a d   . . \ C l a m p \ C l a m p . e x e 
 
 L o a d   . . \ T h e r e m i n o _ H A L \ T h e r e m i n o _ S l o t V i e w e r . e x e 
 
 ' L o a d   . . \ T h e r e m i n o _ H A L \ T h e r e m i n o _ S i g n a l S c o p e . e x e 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%    %%%%  %%%%%  %%%%%  %%%%%  %%%%%
 
 '   Q%    S T A R T   F R O M   H E R E                                                       Q%    %%%%      %      %%%%%  %%%%%      %
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%    %%%%      %      %      %  %    %%      %
 
 L o a d   V a r s 
 
 T e s t N u m b e r   =   v 1 
 
 T e s t E r r o r s   =   v 2 
 
 
 
 C o n t r o l s   O p e n T e x t B o x 
 
 C o n t r o l s   C l e a r T e x t B o x 
 
 ' B e e p   " 1 0 0 0 ,   1 0 0 " 
 
 ' T T S   S e l e c t V o i c e   " E N G " 
 
 ' T T S   S e t V o l u m e   1 0 0 
 
 ' T T S   S e t S p e e d   - 3 
 
 
 
 C O M   O p e n   C o m P o r t   1 1 5 2 0 0 
 
 
 
 s 1   =   C O M _ S t a t u s 
 
 s 1   =   " P o r t   s t a t u s :   "     +   " C O M "   +   C o m P o r t   +   "   I S   "   +   s 1   +   C R L F 
 
 s 1   =   s 1   +   " V a l i d   p o r t s :   "   +   C O M _ P o r t N a m e s   +   C R L F   +   C R L F 
 
 P r i n t   s 1 
 
 
 
 ' I f   C O M _ S t a t u s   =   " O P E N E D " 
 
 ' 	 T T S   S p e a k   " R o b o t   r e a d y   a n d   o p e r a t i o n a l . " 
 
 ' E l s e 
 
 ' 	 T T S   S p e a k   " R o b o t   i s   N O T   c o n n e c t e d . " 
 
 ' E n d I f 
 
 ' W a i t   T T S r e a d y 
 
 L o a d   H i d e 
 
 
 
 S t o p                                                                                         ' 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %%%  %      %%%%  %%%%  %%%%
 
 '   Q%  C L O S E   A L L                                                                     Q%  %      %      %    %  %%%%  %%%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%  %%%  %%%%  %%%%  %%%%
 
 L a b e l   C L O S E _ A L L 
 
 	 L o a d   C l o s e A p p s   " T h e r e m i n o _ E d i t o r . e x e " 
 
 	 L o a d   C l o s e A p p s 
 
 R e t u r n 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %%%%  %%%%%  %%%%  %%%%
 
 '   Q%  S T O P   E V E N T   ( w h e n   p r e s s i n g   s t o p   b u t t o n )           Q%  %%%%      %      %    %  %%%%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%%      %      %%%%  %
 
 L a b e l   E v e n t S t o p 
 
 	 v 1   =   T e s t N u m b e r 
 
 	 v 2   =   T e s t E r r o r s 
 
 	 S a v e   V a r s 
 
 	 ' C o n t r o l s   C l o s e T e x t B o x 
 
 E n d                                                                                           ' 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %      %  %%%%  %%%%%
 
 '   Q%  V A R I A B L E   I N I T I A L I Z A T I O N S   &   A S S I G N E M E N T S         Q%  %      %  %%%%  %%%%%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%    %%%    %    %  %    %%
 
 V a r i a b l e   N u m e r i c   C o m P o r t 
 
 ' V a r i a b l e   N u m e r i c   S t o p A l l 
 
 V a r i a b l e   N u m e r i c   T e s t N u m b e r 
 
 V a r i a b l e   N u m e r i c   T e s t E r r o r s 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %%%%  %    %  %%%
 
 '   Q%    S   U   B   R   O   U   T   I   N   E       A   R   E   A                           Q%  %%%%  %    %  %%%%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%%  %%%%  %%%%
 
 L a b e l   E n a b l e 
 
 	 s 1   =   " 0 0   8 0   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 3 " 
 
         ' T T S   S p e a k   " R o b o t   e n a b l e d . " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 L a b e l   D i s a b l e 
 
 	 s 1   =   " 0 0   8 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 3 " 
 
 	 ' T T S   S p e a k   " R o b o t   d i s a b l e d . " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 
 
 ' R e a d   t h e   s e r v o   s t a t u s   ( 0 :   O f f   /   1 : O n ) 
 
 L a b e l   R e a d S t a t u s 
 
 	 s 1   =   " 0 0 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 ' R e a d   t h e   c u m u l a t i v e   p o s i t i o n   o f   t h e m o t o r   ( p o w e r   o f f   c l e a r a n c e ) 
 
 L a b e l   R e a d C u m P o s 
 
 	 s 1   =   " 0 0   0 3 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 ' R e a d   r u n n i n g   s t a t u s   ( 8 2 , 8 3   F u n c t i o n   c o d e   f u n c t i o n   i s   v a l i d ) 
 
 L a b e l   R u n S t a t u s 
 
 	 s 1   =   " 0 0   2 9 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 ' S e t ,   o r i g i n 
 
 L a b e l   S e t O r i g i n 
 
 	 s 1   =     " 0 0   8 9   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 
 
 ' S a v e   p a r a m e t e r   ( 0 x   9 1 ~ 0 x 9 4   f u n c t i o n   c o d e   p a r a m e t e r   r e p a i r 
 
 ' I t   m u s t   b e   s a v e d   a f t e r   t h e   m o d i f i c a t i o n ,   o t h e r w i s e   t h e   p o w e r - o f f   i s   i n v a l i d ) 
 
 ' N o t e :   0 x 9 1 ~ 0 x 9 3   T h e   c u r r e n t   p a r a m e t e r s   c a n   b e   m o d i f i e d   a p p r o p r i a t e l y ,   d e p e n d i n g o n   t h e   a c t u a l 
 
 ' s i t u a t i o n   o f   t h e   l o a d . 
 
 L a b e l   S a v e P a r a m 
 
 	 s 1   =   " 0 0   9 5   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 0   0 0   0 1   0 0   0 3 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 L a b e l   A l l Z e r o 
 
 	 s 1   =     " 0 0   8 2   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 3   E 8 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 L a b e l   1 0 _ 2 0 _ 3 0 _ 4 0 _ 5 0 _ 6 0 
 
 	 s 1   =   " 0 0   8 2   0 0   0 1   8 6   A 0   0 0   0 3   0 D   4 0   0 0   0 4   9 3   E 0   0 0   0 6   1 A   8 0   0 0   0 7   A 1   2 0   0 0   0 9   2 7   C 0   0 3   E 8 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 L a b e l   3 = 9 0 _ 5 = 9 0 
 
 	 s 1   =     " 0 0   8 2   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 D   B B   A 0   0 0   0 0   0 0   0 0   0 0   0 D   B B   A 0   0 0   0 0   0 0   0 0   0 3   E 8 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 
 
 L a b e l   A p p r o a c h B o x 
 
 	 s 1   =   " 0 0   8 2   F F   F 2   1 D   B 4   0 0   0 6   4 2   5 8   0 0   0 8   C 0   A 0   F F   F F   F E   7 0   0 0   0 C   9 C   E 8   0 0   0 E   A 6   0 0   0 3   E 7   " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 L a b e l   A p p r o a c h C a r 
 
 '       s 1   =   " 0 0   8 2   0 0   0 E   0 A   2 4   0 0   0 4   1 3   5 C   0 0   1 0   7 1   6 0   F F   F F   6 3   C 0   0 0   0 6   1 C   D 8   0 0   0 0   8 1   4 C   0 3   E 7 " 
 
 	 s 1   =   " 0 0   8 2   0 0   0 E   0 A   2 4   0 0   0 4   1 3   5 C   0 0   1 0   7 1   6 0   F F   F F   6 3   C 0   0 0   0 6   1 C   D 8   0 0   0 0   C 3   5 0   0 3   E 7 " 
 
 	 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 L a b e l   J o i n t A l l _ 0 
 
 	 ' s 1   =   " 0 0   8 2   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 3   E 7 " 
 
 	 
 
 	 s 1   =   " 0 0   8 2   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 0   0 3   E 8 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 L a b e l   J o i n t A l l _ 1 1 
 
 	 s 1   =     " 0 0   8 2   0 0   0 1   A D   B 0   0 0   0 1   A D   B 0   0 0   0 1   A D   B 0   0 0   0 1   A D   B 0   0 0   0 1   A D   B 0   0 0   0 1   A D   B 0   0 3   E 7 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 L a b e l   E n q u i r e 
 
 	 s 1   =   " 0 0   0 3   0 0   2 9   0 0   0 0   0 0   0 5 " 
 
 	 S e n d C o m m a n d 
 
 R e t u r n 
 
 
 
 
 
 L a b e l   M o t i o n 
 
 	 F o r   v 4   =   0   T o   4 0 
 
 	 	 J o i n t A l l _ 0 
 
 	 	 W a i t   S e c o n d s   2 . 5 
 
 	 	 A p p r o a c h C a r 
 
 	 	 W a i t   S e c o n d s   3 
 
 	 	 S l o t ( S l o t _ C l a m p )   =   5 0 0                   ' C l o s e 
 
 	 	 W a i t   S e c o n d s   1 
 
 	 	 J o i n t A l l _ 0 
 
 	 	 W a i t   S e c o n d s   2 
 
 	 	 A p p r o a c h B o x 
 
 	 	 W a i t   S e c o n d s   2 
 
 	 	 S l o t ( S l o t _ C l a m p )   =   3 5 0                   ' O p e n 
 
 	 	 W a i t   S e c o n d s   0 . 5 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %      %%%  %%%
 
 '   Q%  L E D   C O L O R S                                                                   Q%  %      %%    %    %
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%  %%%  %%%%
 
 L a b e l   R e d O n 
 
 ' 	 L a n g u a g e   =   1 
 
 ' 	 T T S   S p e a k   " S t a t u s   r e d . " 
 
 	 S l o t   S l o t _ L e d R   =   1 0 0 0 
 
 	 S l o t   S l o t _ L e d G   =   0 
 
 	 S l o t   S l o t _ L e d B   =   0 
 
 R e t u r n 
 
 
 
 L a b e l   M a g e n t a O n 
 
 	 S l o t   S l o t _ L e d R   =   1 0 0 0 
 
 	 S l o t   S l o t _ L e d G   =   0 
 
 	 S l o t   S l o t _ L e d B   =   1 0 0 0 
 
 R e t u r n 
 
 
 
 L a b e l   Y e l l o w O n 
 
 ' 	 L a n g u a g e   =   1 
 
 ' 	 T T S   S p e a k   " S t a t u s   y e l l o w . " 
 
 	 S l o t   S l o t _ L e d R   =   9 0 0 
 
 	 S l o t   S l o t _ L e d G   =   4 0 0 
 
 	 S l o t   S l o t _ L e d B   =   0 
 
 R e t u r n 
 
 
 
 L a b e l   G r e e n O n 
 
 ' 	 L a n g u a g e   =   1 
 
 ' 	 T T S   S p e a k   " S t a t u s   g r e e n . " 
 
 	 S l o t   S l o t _ L e d R   =   0 
 
 	 S l o t   S l o t _ L e d G   =   1 0 0 0 
 
 	 S l o t   S l o t _ L e d B   =   0 
 
 R e t u r n 
 
 
 
 L a b e l   B l u e O n 
 
 	 ' L a n g u a g e   =   1 
 
 	 ' T T S   S p e a k   " S t a t u s   b l u e . " 
 
 	 S l o t   S l o t _ L e d R   =   0 
 
 	 S l o t   S l o t _ L e d G   =   0 
 
 	 S l o t   S l o t _ L e d B   =   1 0 0 0 
 
 R e t u r n 
 
 
 
 L a b e l   W h i t e O n 
 
 	 ' L a n g u a g e   =   1 
 
 	 ' T T S   S p e a k   " S t a t u s   w h i t e . " 
 
 	 S l o t   S l o t _ L e d R   =   1 0 0 0 
 
 	 S l o t   S l o t _ L e d G   =   1 0 0 0 
 
 	 S l o t   S l o t _ L e d B   =   1 0 0 0 
 
 R e t u r n 
 
 
 
 L a b e l   R g b O f f 
 
 	 S l o t   S l o t _ L e d R   =   0 
 
 	 S l o t   S l o t _ L e d G   =   0 
 
 	 S l o t   S l o t _ L e d B   =   0 
 
 R e t u r n 
 
 
 
 L a b e l   R e d B l i n k 
 
 	 R e d O n 
 
 	 W h i t e O n 
 
 R e t u r n 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %%%%  %%%%  %%%  %  %%%%
 
 '   Q%  S   E   N   D                                                                         Q%  %%%%  %%%%  %    %%  %    %
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%%  %%%%  %      %  %%%%
 
 L a b e l   S e n d C o m m a n d 
 
 	 ' S l o t ( 1 4 )   =   1 0 0 0 	 	 ' s h o w   s t a r t   s i g n a l   o n   S i g n a l S c o p e 
 
 	 C O M   D i s c a r d O u t B u f f e r 
 
 	 W a i t   S e c o n d s   0 . 1 
 
 	 C O M   W r i t e S t r i n g H E X   s 1 
 
 	 P r i n t   s 1   +   C R L F 
 
 	 ' S l o t ( 1 4 )   =   0 	 	 ' s h o w   s t o p   s i g n a l   o n   S i g n a l S c o p e 
 
 	 
 
 R e t u r n 
 
 
 
 
 
 ' W A T C H   C O M _ S t a t u s 
 
 